<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2024/3/7 0007
  Time: 16:18
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<h1>添加</h1>
<form action="/user/id" method="post" enctype="multipart/form-data">
    姓名:<input type="text" name="name"><br>
    年龄:<input type="text" name="age"><br>
    性别:<input type="text" name="gender"><br>
    电话:<input type="text" name="phone"><br>
    上传:<input type="file" name="myfile"><br>
    <input type="submit" value="添加"><br>
</form>
<h1>删除</h1>
<%--        <form action="/user/delete/${id}" method="post">--%>
<%--            id:<input type="text" name="id" value="${id}">--%>
<%--            <input type="submit" value="删除">--%>
<%--        </form>--%>
<form action="/user/delete" method="post">
    id:<input type="text" name="id"><br>
    <input type="submit" value="删除"><br>
</form>

<%--<form method="post" action="/user/picture" enctype="multipart/form-data">--%>
<%--    上传:<input type="file" name="myfile">--%>
<%--    <input type="submit" value="提交">--%>
<%--</form>--%>
<h1>修改</h1>
<form action="/user/update" method="post" enctype="multipart/form-data">
    姓名:<input type="text" name="name"><br>
    年龄:<input type="text" name="age"><br>
    性别:<input type="text" name="gender"><br>
    电话:<input type="text" name="phone"><br>
    上传:<input type="file" name="myfile"><br>
    <input type="submit" value="修改"><br>
</form>
</body>
</html>
